'use strict';

console.log('init')

function onClick() {
    console.log('onclick')

    location.href = '/topikList?pageSize=100000'
}

function onItem(id) {
    console.log(id);

    location.href = '/topik/' + id
}

function onView(id) {
    console.log(id);

    location.href = '/records/' + id
}


function onAccount() {
    location.href = '/users'
}